package bootstrap

import (
	"com.opennews.openplatform/web_api/services"
	"com.opennews.openplatform/web_api/shared"
)

// The function used to initialize application variables.
func Init() {
	// Creates for configuration usage.
	shared.ConfigService = shared.NewAppConfigService()

	// Queries and caches config request map from datasource.
	services.NewRequestMapService().RefreshCache()
}
